package cs9322.assign3.model;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Order {
	private int id;
	private String type;
	private String size;
	private boolean paid;
	private String addition;
	private String status;
	private double price;
	private String url;
	

	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Order(){}
	public Order(String type,String size, boolean paid, String addition){
		this.type = type;
		this.size = size;
		this.paid = paid;
		this.addition = addition;
		this.status = "waiting";
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public boolean isPaid() {
		return paid;
	}
	public void setPaid(boolean paid) {
		this.paid = paid;
	}
	public String getAddition() {
		return addition;
	}
	public void setAddition(String addition) {
		this.addition = addition;
	}
	
}
